home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Clickx 115
/
Clickx 115.iso
/
software
/
tools
/
windows
/
tails-i386-0.16.iso
/
live
/
filesystem.squashfs
/
var
/
lib
/
dpkg
/
info
/
libpam-modules.postinst
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2011-10-17
|
403 b
|
21 lines
#!/bin/sh -e
# If the user has removed the config file, respect this sign of dementia
# -- only create on package install.
if [ -z "$2" ] || dpkg --compare-versions "$2" lt 0.99.7.1-3
then
if ! [ -f /etc/security/opasswd ]; then
umask 066
touch /etc/security/opasswd
umask 022
fi
fi
if dpkg --compare-versions "$2" lt 0.99.9.0-1 && ! [ -f /etc/environment ]
then
touch /etc/environment
fi